package org.bringer.dao;

import java.util.Calendar;
import java.util.List;

import org.bringer.model.Annotation;

/**
 * User Data Access Object (GenericDao) interface.
 *
 * @author <a href="mailto:danalonsos@gmail.com">Daniel Alonso</a>
 */
public interface AnnotationDao extends GenericDao<Annotation, Long> {

	  List<Annotation> getAnnotationByDescription(String description);
	  List<Annotation> getAnnotationsByAccount(String iban);
	  List<Annotation> getAnnotationsByAccountInDates(String iban,Calendar initialDate,Calendar endDate);
	  List<Annotation> getAnnotationsByAccountAboveX(String iban,Double amount);
}
